package com.qin.mall.service.Impl;

import com.qin.mall.mapper.CmsPrefrenceAreaMapper;
import com.qin.mall.model.CmsPrefrenceArea;
import com.qin.mall.model.CmsPrefrenceAreaExample;
import com.qin.mall.service.CmsPrefrenceAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Leisure
 * create 2022 2022/10/15 8:42
 **/
@Service
public class CmsPrefrenceAreaServiceImpl implements CmsPrefrenceAreaService {
    @Autowired
    private CmsPrefrenceAreaMapper prefrenceAreaMapper;
    
    @Override
    public List<CmsPrefrenceArea> listAll() {
        return prefrenceAreaMapper.selectByExample(new CmsPrefrenceAreaExample());
    }
}
